package com.netease.pris.atom.userinfo;

import android.os.Parcel;
import android.os.Parcelable.Creator;
import com.netease.f.b;
import com.netease.pris.protocol.XMLParcelableTag;
import java.util.Iterator;
import java.util.List;

public class UserInfo extends XMLParcelableTag
{
  public static final Parcelable.Creator CREATOR = new a();
  private static final String k = "male";
  private static final String l = "female";
  private static final int m = 120;
  b a;
  b b;
  b c;
  b d;
  b j;

  public UserInfo()
  {
    super("userinfo");
  }

  public UserInfo(Parcel paramParcel)
  {
    super(paramParcel);
    B();
  }

  public UserInfo(boolean paramBoolean)
  {
  }

  private void B()
  {
    this.a = c("name");
    this.b = c("introduction");
    this.c = c("labels");
    this.d = c("gender");
    this.j = c("icon");
  }

  public boolean a()
  {
    if (this.a != null);
    for (int i = 1; ; i = 0)
      return i;
  }

  public boolean b()
  {
    if (this.b != null);
    for (int i = 1; ; i = 0)
      return i;
  }

  public boolean c()
  {
    if (this.c != null);
    for (int i = 1; ; i = 0)
      return i;
  }

  public b d(b paramb)
  {
    if (paramb.z() != null)
    {
      if (!paramb.z().equals("name"))
        break label30;
      this.a = paramb;
    }
    while (true)
    {
      return super.d(paramb);
      label30: if (paramb.z().equals("introduction"))
      {
        this.b = paramb;
        continue;
      }
      if (paramb.z().equals("labels"))
      {
        this.c = paramb;
        continue;
      }
      if (paramb.z().equals("gender"))
      {
        this.d = paramb;
        continue;
      }
      if (!paramb.z().equals("icon"))
        continue;
      this.j = paramb;
    }
  }

  public boolean d()
  {
    if (this.d != null);
    for (int i = 1; ; i = 0)
      return i;
  }

  public void e(String paramString1, String paramString2)
  {
    if (this.j == null)
      f("icon");
    while (true)
    {
      if (this.j != null)
      {
        this.j.b("href", paramString1);
        this.j.b("type", paramString2);
      }
      return;
      this.j.k();
    }
  }

  public boolean e()
  {
    if (this.j != null);
    for (int i = 1; ; i = 0)
      return i;
  }

  public String f()
  {
    if (this.b != null);
    for (String str = this.b.A(); ; str = null)
      return str;
  }

  public String g()
  {
    if (this.d != null);
    for (String str = this.d.A(); ; str = null)
      return str;
  }

  public int h()
  {
    int i = 120;
    if (this.a != null)
      i = this.a.a("max-length", i);
    return i;
  }

  public void h(String paramString)
  {
    if (this.a != null)
      this.a.g(paramString);
    while (true)
    {
      return;
      a("name", paramString);
    }
  }

  public void i(String paramString)
  {
    if (this.b != null)
      this.b.g(paramString);
    while (true)
    {
      return;
      a("introduction", paramString);
    }
  }

  public void j(String paramString)
  {
    if (this.d != null)
      this.d.g(paramString);
    while (true)
    {
      return;
      a("gender", paramString);
    }
  }

  public void k(String paramString)
  {
    if ((paramString == null) || (paramString.length() == 0));
    while (true)
    {
      return;
      if (this.c == null)
        f("labels");
      if (this.c == null)
        continue;
      this.c.a("label", paramString);
    }
  }

  public int s()
  {
    int i = 120;
    if (this.b != null)
      i = this.b.a("max-length", i);
    return i;
  }

  public int t()
  {
    int i = 120;
    if (this.c != null)
      i = this.c.a("max-length", i);
    return i;
  }

  public int u()
  {
    int i = 0;
    List localList;
    if (this.c != null)
    {
      localList = this.c.q();
      if (localList != null)
        break label23;
    }
    while (true)
    {
      return i;
      label23: i = localList.size();
    }
  }

  public String[] v()
  {
    String[] arrayOfString2;
    if (this.c != null)
    {
      List localList = this.c.q();
      if (localList != null)
      {
        arrayOfString2 = new String[localList.size()];
        Iterator localIterator = localList.iterator();
        int n;
        for (int i = 0; localIterator.hasNext(); i = n)
        {
          b localb = (b)localIterator.next();
          n = i + 1;
          arrayOfString2[i] = localb.A();
        }
      }
    }
    for (String[] arrayOfString1 = arrayOfString2; ; arrayOfString1 = null)
      return arrayOfString1;
  }

  public String w()
  {
    if (this.j != null);
    for (String str = this.j.a("href"); ; str = null)
      return str;
  }

  public String x()
  {
    if (this.a != null);
    for (String str = this.a.A(); ; str = null)
      return str;
  }

  public void y()
  {
    if (this.c != null)
      this.c.j();
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.atom.userinfo.UserInfo
 * JD-Core Version:    0.6.0
 */